﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Game.Web
{
    public partial class AdminTest : System.Web.UI.Page
    {
        protected void Page_Load( object sender , EventArgs e )
        {
            HttpCookie cook = HttpContext.Current.Request.Cookies["6603Admin"];
            Response.Write( "Name:" + cook.Name );
            Response.Write( "<br/>value" + cook.Value );
            Response.Write( "<br/>Domain: " + cook.Domain );
            Response.Write( "<br/>Path: " + cook.Path );
            //Response.Write( "Port: " + cook.Port );
            Response.Write( "<br/>Secure: " + cook.Secure );

           // Response.Write( "When issued: " + cook.TimeStamp );
            Response.Write( "<br/>Expires: " + cook.Expires );
            //Response.Write( "Don't save: " + cook.Discard );
            //Response.Write( "Comment: " + cook.Comment );
            //Response.Write( "Uri for comments: " + cook.CommentUri );
            //Response.Write( "Version: RFC " + cook.Version );

            // Show the string representation of the cookie.
            Response.Write( "<br/>String:" + cook.ToString( ) );

        }
    }
}
